package com.example.katalk_nari;

import java.text.SimpleDateFormat;
import java.util.Locale;

public class SendMessageData extends ChatItemData {

	private String mMessage;

	public SendMessageData(String msg) {
		super(ChatItemData.TYPE_SEND);
		mMessage = msg;
	}

	public String getMessage() {
		return mMessage;
	}
	
	public String getDateTimeToString() {
		SimpleDateFormat formatter = new SimpleDateFormat ( "a HH:mm", Locale.KOREA );
		return formatter.format(mDate);
	}
}